# d = { 'Adam': 95,'Lisa': 85,'Bart': 59}
# for key , value in d.items():
#     print('{0}:{1}'.format(key,value))

# dict1 = {"a":[1,2]}
# print(dict1['a'][0])


dict2 = {"a":{"c":"d"}}
dict2['a']['c'] = 1
print(dict2['a']['c'])



# dic = {'k1': "v1", "k2": "v2", "k3": [11,22,33]}
# dic['k4'] = 'v4'
# dic['k3'].append(44)
# dic['k3'].insert(0,18)
# print(dic)

# information ={"张三":18,"李四":60,"王五":56,"孙六":7}
# for key ,value in information.items():
#     if value == max(information.values()):
#         print(key)

# a = ['name', 'age', 'sex']
# b = ['Weng', 18, 'FeMale']
# print(dict(zip(a,b)))



